import request from '@/utils/request'

// 查询活动日程提醒列表
export function listReminder(query) {
  return request({
    url: '/club/reminder/list',
    method: 'get',
    params: query
  })
}

// 查询活动日程提醒详细
export function getReminder(id) {
  return request({
    url: '/club/reminder/' + id,
    method: 'get'
  })
}

// 新增活动日程提醒
export function addReminder(data) {
  return request({
    url: '/club/reminder',
    method: 'post',
    data: data
  })
}

// 修改活动日程提醒
export function updateReminder(data) {
  return request({
    url: '/club/reminder',
    method: 'put',
    data: data
  })
}

// 删除活动日程提醒
export function delReminder(id) {
  return request({
    url: '/club/reminder/' + id,
    method: 'delete'
  })
}
